package weibo4andriod.a;

import java.io.Serializable;
import javax.crypto.spec.SecretKeySpec;

abstract class f
  implements Serializable
{
  String[] a;
  private String b;
  private String c;
  private transient SecretKeySpec d;

  f(String paramString)
  {
    this.a = null;
    this.a = paramString.split("&");
    this.c = a("oauth_token_secret");
    this.b = a("oauth_token");
  }

  public f(String paramString1, String paramString2)
  {
    this.a = null;
    this.b = paramString1;
    this.c = paramString2;
  }

  f(i parami)
  {
    this(parami.a());
  }

  public String a(String paramString)
  {
    String str1 = null;
    String[] arrayOfString = this.a;
    int i = arrayOfString.length;
    for (int j = 0; ; ++j)
    {
      if (j >= i);
      while (true)
      {
        return str1;
        String str2 = arrayOfString[j];
        if (!(str2.startsWith(paramString + '=')))
          break;
        if (str2.length() != 1 + paramString.length())
          str1 = str2.split("=")[1].trim();
        str1 = "";
      }
    }
  }

  final void a(SecretKeySpec paramSecretKeySpec)
  {
    this.d = paramSecretKeySpec;
  }

  public String c()
  {
    return this.c;
  }

  public String d()
  {
    return this.b;
  }

  final SecretKeySpec e()
  {
    return this.d;
  }

  public boolean equals(Object paramObject)
  {
    if (this == paramObject);
    for (int i = 1; ; i = 1)
      while (true)
      {
        label7: return i;
        if (!(paramObject instanceof f))
          i = 0;
        f localf = (f)paramObject;
        if (this.d != null)
          if (this.d.equals(localf.d))
            break label59;
        do
        {
          i = 0;
          break label7:
        }
        while (localf.d != null);
        if (!(this.b.equals(localf.b)))
          label59: i = 0;
        if (this.c.equals(localf.c))
          break;
        i = 0;
      }
  }

  public int hashCode()
  {
    int i = 31 * (31 * this.b.hashCode() + this.c.hashCode());
    if (this.d != null);
    for (int j = this.d.hashCode(); ; j = 0)
      return (i + j);
  }

  public String toString()
  {
    return "OAuthToken{token='" + this.b + '\'' + ", tokenSecret='" + this.c + '\'' + ", secretKeySpec=" + this.d + '}';
  }
}

/* Location:           E:\Desktop\Android\wordstd\classes_dex2jar.jar
 * Qualified Name:     weibo4andriod.a.f
 * JD-Core Version:    0.5.3
 */